import request from '@/util/request'

export const login = ({username,password})=>{
    const data={
        user:username,
        password: password
    }
    console.log("username:"+username);
    return request({
        url:'login',
        data,
        method:'get'
    })
}

export const test = (data) => {
   
    //console.log("username:" + username);
    return request({
        url: 'test',
        data,
        method: 'get'
    })
}